package com.admin.work.mapper;

import com.admin.work.domain.WorkBuyInfo;

import java.util.List;

/**
 * 购买信息 数据层
 * 
 * @author fzgnin
 */
public interface WorkBuyInfoMapper
{
    /**
     * 查询购买数据集合
     * 
     * @param buyInfo 购买信息
     * @return 购买数据集合
     */
    public List<WorkBuyInfo> selectBuyInfoList(WorkBuyInfo buyInfo);

    /**
     * 通过购买ID查询购买信息
     *
     * @param buyID 价格ID
     * @return 价格对象信息
     */
    public WorkBuyInfo selectBuyInfoByID(Long buyID);

    /**
     * 新增购买信息
     *
     * @param buyInfo 购买信息
     * @return 结果
     */
    public int insertBuyInfo(WorkBuyInfo buyInfo);

    /**
     * 修改购买信息
     *
     * @param buyInfo 购买信息
     * @return 结果
     */
    public int updateBuyInfo(WorkBuyInfo buyInfo);
}
